let scenarioEditTool = {
  namespaced: true,
  state: {
    moduleMenuList: [
      {
        id: 1,
        name: "预处理算法环境镜像管理",
        nameEn: "preprocessingAlgorithmEnvironmentImageManagement",
        icon: "scenario-overview",
      },
      {
        id: 2,
        name: "预处理算法开发与管理",
        nameEn: "preprocessingAlgorithmDevelopedAndRunOnline",
        icon: "scenario-edit",
      },
      {
        id: 3,
        name: "预处理任务管理",
        nameEn: "preprocessingTaskFlowManagement",
        icon: "scenario-edit",
      },
    ],
    right_menuList: {
      // 想定库_筛选右侧+的展开菜单
      rightMenuList_1: [
        {
          id: 1,
          name: "新增分类",
          icon: "create-directory",
          i18nName: "newFolder",
        },
        {
          id: 2,
          name: "新增想定",
          icon: "model",
          i18nName: "newScenario",
        },
      ],
      // 想定库_树节点类型为folder的...展开菜单
      rightMenuList_2: [
        {
          id: 1,
          name: "新增想定",
          icon: "model",
          i18nName: "newScenario",
        },
        {
          id: 2,
          name: "添加子目录",
          icon: "create-directory",
          i18nName: "addSubdirectory",
        },
        {
          id: 3,
          name: "编辑目录",
          icon: "edit",
          i18nName: "edit",
        },
        {
          id: 4,
          name: "删除",
          icon: "delete",
          i18nName: "delete",
        },
      ],
      // 想定库_树节点类型为file的...展开菜单
      rightMenuList_3: [
        {
          id: 1,
          name: "复制",
          icon: "copy",
          i18nName: "copy",
        },
        {
          id: 2,
          name: "编辑",
          icon: "edit",
          i18nName: "edit",
        },
        {
          id: 3,
          name: "删除",
          icon: "delete",
          i18nName: "delete",
        },
      ],
      // 兵力部署_树节点...的展开菜单[只有节点没有目录]
      rightMenuList_4: [
        {
          id: 1,
          name: "添加实体",
          icon: "add",
          i18nName: "addEntity",
        },
        {
          id: 2,
          name: "复制",
          icon: "copy",
          i18nName: "copy",
        },
        {
          id: 3,
          name: "删除",
          icon: "delete",
          i18nName: "delete",
        },
      ],
      // 节点配置_树节点...的展开菜单[只有节点没有目录]
      rightMenuList_5: [
        {
          id: 1,
          name: "添加子节点",
          icon: "add",
          i18nName: "addChildNode",
        },
        {
          id: 2,
          name: "编辑",
          icon: "edit",
          i18nName: "edit",
        },
        {
          id: 3,
          name: "删除",
          icon: "delete",
          i18nName: "delete",
        },
      ],
    },
    selectedNodeId: 0, // 想定列表中当前选中的节点id
    expandedNodeIds: [], // 想定列表中当前选中的节点id
  },
  mutations: {
    SET_SELECTED_NODE_ID(state, id) {
      state.selectedNodeId = id;
    },
    SET_EXPANDED_NODE_IDS(state, idList) {
      state.expandedNodeIds = idList;
    },
  },
  actions: {},
};
export default scenarioEditTool;
